//
//  BRMerchantModel.h
//  Kexu
//
//  Created by IOS on 2023/8/1.
//

#import "BRBaseModel.h"

NS_ASSUME_NONNULL_BEGIN
/// 商家-首页
@interface BRMerchantModel : BRBaseModel

///pendingAmount    可提现金额    number
@property (nonatomic,strong) NSDecimalNumber *pendingAmount;
///profitToday    分成金额-今日    number
@property (nonatomic,strong) NSDecimalNumber *profitToday;
///profitTotal    分成金额-累计    number
@property (nonatomic,strong) NSDecimalNumber *profitTotal;
///settledAmount    已提现金额    number
@property (nonatomic,strong) NSDecimalNumber *settledAmount;
///todayTotalOrder    订单数-今日    integer(int32)
@property (nonatomic,assign) NSInteger todayTotalOrder;
///totalOrder    订单数-累计    integer(int32)
@property (nonatomic,assign) NSInteger totalOrder;

@end

///提现绑卡信息
@interface BRWithdrawalAccountModel : BRBaseModel

///bankName    银行名称:VISA MASTER    string
@property (nonatomic,strong) NSString *bankName;
///bankType    卡的类型：debit credit prepaid unknown    string
@property (nonatomic,strong) NSString *bankType;
//cardExpire    银行卡有效期：年月    string
///cardNo    银行卡号    string
@property (nonatomic,strong) NSString *cardNo;
//createTime    创建时间    string(date-time)
//customerId    支付关键信息    string
//expire    是否过期 0：否 1：是    integer(int32)
///id    id    integer(int32)
@property (nonatomic,strong) NSString *bankCardId;

@end
/// 交易记录列表
@interface BRBrokeragesListModel : BRBaseModel

///amount    金额    number
@property (nonatomic,strong) NSDecimalNumber *amount;
///createTime    时间    string(date-time)
@property (nonatomic,strong) NSString *createTime;
///id    主键id    integer(int32)
@property (nonatomic,strong) NSString *brokerId;
///orderNo    订单号    string
@property (nonatomic,strong) NSString *orderNo;
///transactionId    第三方交易号    string
@property (nonatomic,strong) NSString *transactionId;
///type    类型：1-订单分成 2-调整 3-退款    integer(int32)
@property (nonatomic,assign) NSInteger type;

@end
/// 交易记录统计
@interface BRBrokeragesNumModel : BRBaseModel
///profitRefundedTotal    累计分成金额-退款    number
@property (nonatomic,strong) NSDecimalNumber *profitRefundedTotal;
///profitTotal    累计分成金额-分成    number
@property (nonatomic,strong) NSDecimalNumber *profitTotal;
@end

/// 我的设备
@interface BRDeviceModel : BRBaseModel

//abnormalCount    异常预警数    integer(int32)
@property (nonatomic,assign) NSInteger abnormalCount;
//agentId    代理id    integer(int32)
@property (nonatomic,assign) NSInteger agentId;
//agentName    代理名称    string
@property (nonatomic,strong) NSString *agentName;
//availableNum    可租借数量    integer(int32)
@property (nonatomic,assign) NSInteger availableNum;
//branchAddress    网点地址    string
@property (nonatomic,strong) NSString *branchAddress;
//branchId    网点id    integer(int32)
@property (nonatomic,strong) NSString *branchId;
//branchName    网点名称    string
@property (nonatomic,strong) NSString *branchName;
//branchPhone    网点电话    string
@property (nonatomic,strong) NSString *branchPhone;
//cabinetNo    机柜编号    string
@property (nonatomic,strong) NSString *cabinetNo;
//connectionState    设备连接状态(1-启用 2-禁用),可用值:1,2    integer(int32)
@property (nonatomic,assign) NSInteger connectionState;
//createTime    创建时间    string(date-time)
@property (nonatomic,strong) NSString *createTime;
//customizeState    机柜锁定状态：1-正常 2-锁定 (大机柜没有锁定状态,值为-1),可用值:-1,1,2    integer(int32)
@property (nonatomic,assign) NSInteger customizeState;
//damagedNum    已报损数量    integer(int32)
@property (nonatomic,assign) NSInteger damagedNum;
//deviceCount    孔位数    integer(int32)
@property (nonatomic,assign) NSInteger deviceCount;
//id    主键id,可用值:1,2    integer(int32)
@property (nonatomic,strong) NSString *deviceID;
//imei    imei    string
@property (nonatomic,strong) NSString *imei;
//isScreen    屏幕：0-不带屏 1-带屏,可用值:0,1    integer(int32)
@property (nonatomic,assign) NSInteger isScreen;
//lockedNum    已锁定数量    integer(int32)
@property (nonatomic,assign) NSInteger lockedNum;
//lowBatteryNum    低电量数量    integer(int32)
@property (nonatomic,assign) NSInteger lowBatteryNum;
//returnableNum    可归还数量    integer(int32)
@property (nonatomic,assign) NSInteger returnableNum;
//signal    信号值    string
@property (nonatomic,strong) NSString *signal;
//smallCabinetNum    小机柜数量    integer(int32)
@property (nonatomic,assign) NSInteger smallCabinetNum;
//soundStatus    机柜语言提示：1-开启 0-关闭 (大机柜没有语音,值为-1),可用值:-1,0,1    integer(int32)
@property (nonatomic,assign) NSInteger soundStatus;
//state    状态: 0-离线 1-在线 2-已迁移 3-待激活,可用值:0,1,2,3    integer(int32)
@property (nonatomic,assign) NSInteger state;
//type    机柜类型：1-小机柜 2-大机柜,可用值:1,2    integer(int32)
@property (nonatomic,assign) NSInteger type;


@end

@interface BRWithdrawasRecordModel : BRBaseModel

///amount    金额    number
@property (nonatomic,strong) NSDecimalNumber *amount;
///auditName    审核人姓名    string
@property (nonatomic,strong) NSString *auditName;
///auditRole    审核人角色    string
@property (nonatomic,strong) NSString *auditRole;
///auditTime    审核时间    string(date-time)
@property (nonatomic,strong) NSString *auditTime;
///createTime    申请时间    string(date-time)
@property (nonatomic,strong) NSString *createTime;
///id    主键id    integer(int32)
@property (nonatomic,strong) NSString *withID;
///remark    备注    string
@property (nonatomic,strong) NSString *remark;
///state    状态：0-申请中 1-已结算 2-驳回申请    integer(int32)
@property (nonatomic,assign) NSInteger state;
///transactionId    交易单号（第三方）    string
@property (nonatomic,strong) NSString *transactionId;

@end

NS_ASSUME_NONNULL_END
